package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 学校小组对象 pt_school_group
 *
 * @author lkm
 * @date 2023-05-13
 */
public class PtSchoolGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 小组id
     */
    private Long groupId;

    /**
     * 小组名称
     */
    @Excel(name = "小组名称")
    private String groupName;

    /**
     * 学校id
     */
    @Excel(name = "学校id")
    private Long groupSchoolId;
    //小组成员id
    private List userlist;
    //旧的小组成员id
    private List userlistx;
    private Boolean groupType=null;

    public List getUserlistx() {
        return userlistx;
    }

    public void setUserlistx(List userlistx) {
        this.userlistx = userlistx;
    }

    public List getUserlist() {
        return userlist;
    }

    public void setUserlist(List userlist) {
        this.userlist = userlist;
    }

    public Boolean getGroupType() {
        return groupType;
    }

    public void setGroupType(Boolean groupType) {
        this.groupType = groupType;
    }

    private String SchoolName;

    public String getSchoolName() {
        return SchoolName;
    }

    public void setSchoolName(String schoolName) {
        SchoolName = schoolName;
    }

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupSchoolId(Long groupSchoolId) {
        this.groupSchoolId = groupSchoolId;
    }

    public Long getGroupSchoolId() {
        return groupSchoolId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("groupId", getGroupId())
                .append("groupName", getGroupName())
                .append("groupSchoolId", getGroupSchoolId())
                .append("groupSchoolName", getSchoolName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("userlist", getUserlist())
                .append("userlistx", getUserlistx())
                .append("groupType", getGroupType())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
